package corsi.jpa.demo.prima.servizi;

import javax.ejb.Local;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import org.apache.log4j.Logger;
import corsi.jpa.demo.prima.domain.CD;


@Local
public interface ServizioCrud {

	
	
	
	public EntityManager getEntityManager();

	public void setEntityManager(EntityManager entityManager);
		
	public void inserisci (CD daInserire);

	public void modifica (CD daModificare);
	
	public void cancella (CD daCancellare);
	
	public CD cerca (Class classe, long id);
	
	
	
}
